package cn.yitun.chat.yitunserverimapicore.business.contact.service;

import cn.yitun.chat.yitunservercommonlib.dataentity.dto.userchat.ChatDataDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.system.user.UserVo;

import java.util.List;

/**
 * Date 2019-01-20 13:11:09<br>
 * Description
 *
 * @author yitun<br>
 * @version 1.1
 */
public interface ContactService {


	/**
	 * Date 2019-01-20 18:13:46<br>
	 * Description 获取用户的所有的联系人
	 * @param query
	 * @return
	 * @author yitun<br>
	 * @version 1.1
	 */
	List<UserVo> getUserDataListByContactCategoryMemberOwnerUserId(ChatDataDto query);

	/**
	 * Date 2019-01-20 18:13:46<br>
	 * Description 用户的所有的联系人 计数
	 * @param query
	 * @return
	 * @author yitun<br>
	 * @version 1.1
	 */
	int countUserDataListByContactCategoryMemberOwnerUserId(ChatDataDto query);
}
